package com.chrilwe.pigpig.filesystem.common.response;

import cn.chrilwe.pigpig.core.response.BaseResult;
import lombok.Data;

/**
 * 预上传返回
 * @author chrilwe
 * @date 2020-10-6
 */
@Data
public class PreUploadResult extends BaseResult {
	
	private long uploadedSize;//已经上传完的大小
	
	private int chunkSize;//分块大小

	public PreUploadResult(int code, String resMsg, long uploadedSize, int chunkSize) {
		super(code, resMsg);
		this.chunkSize = chunkSize;
		this.uploadedSize = uploadedSize;
	}

}
